package com.gzz.orchid.common.core.tuple;

import lombok.Value;

/**
 * 选项节点
 *
 * @author higmd
 */
@Value
public class Option<T> {
    String label;
    T value;

    public static <T> Option<T> of(String label, T value) {
        return new Option<>(label, value);
    }
}
